//package com.cc.service;
//
//import org.springframework.context.ApplicationEvent;
//import org.springframework.context.ApplicationListener;
//import org.springframework.context.PayloadApplicationEvent;
//import org.springframework.stereotype.Component;
//
///**
// * @title: MeApplicationListener
// * @author: lbj
// * @date: 2022/5/7 10:09 下午
// * @description: TODO 类描述
// */
//
//@Component //关闭监听
//public class MeApplicationListener implements ApplicationListener {
//    @Override
//    public void onApplicationEvent(ApplicationEvent event) {
//        if (event instanceof PayloadApplicationEvent) {
//            PayloadApplicationEvent e = (PayloadApplicationEvent) event;
//            System.out.println(e.getPayload());
//        }
////        System.out.println(event);
//    }
//}
